JavaScript

A5.PanelLayoutsetState Method

Syntax

A5.PanelLayout.setState(state)

Arguments

stateobject

The state object returned from A5.PanelLayout.getState.

Description

Set the current display state of the layout and all its children. Can be used in conjunction with A5.PanelLayout.getState to restore panels to a previously cached state.

Example

// assume pObj is a pointer to a panel class
var state = pObj.getState();